package com.hzlj.position.locate.common.dto.abnProhibitAreas;

import com.fz.common.base.enums.db.LikeType;
import com.fz.common.base.enums.db.QueryField;
import com.fz.common.base.enums.db.RangeType;
import com.hzlj.position.locate.common.model.AbnProhibitAreas;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 禁止区域(AbnProhibitAreas)查询参数DTO
 *
 * @author lifh
 * @date 2023-03-28 15:00:08
 */
@Data
@ToString
@Accessors(chain = true)
public class AbnProhibitAreasQueryParamDTO {
    /**
     * 行政区划名称
     */
    @QueryField(model = AbnProhibitAreas.class, like = LikeType.ALL)
    private String xzqhMc;
    /**
     * 机构Code(前缀匹配)
     */
    @QueryField(model = AbnProhibitAreas.class, like = LikeType.RIGHT)
    private String jgCode;
    /**
     * 开始时间
     */
    @QueryField(model = AbnProhibitAreas.class, range = RangeType.GTE, value = "startTime")
    private Date startTime;
    /**
     * 结束时间
     */
    @QueryField(model = AbnProhibitAreas.class, range = RangeType.LTE, value = "endTime")
    private Date endTime;
}
